import GeneratorBodyPage from "@/views/GeneratorBodyPage.vue";
import GeneratorExplosionPage from "@/views/GeneratorExplosionPage.vue";
import Principle from "@/views/PrincipleView.vue";
import ExciterPage from "@/views/ExciterPage.vue";
import RotatingPage from "@/views/RotatingPage.vue";
import SubExciter from "@/views/SubExciterPage.vue";
import AVR from "@/views/AVRPage.vue";
import ControlPanel from "@/views/ControlPanel.vue";
import RectifierPage from "@/views/RectifierPage.vue";
import RectifierCircuitPage from "@/views/RectifierCircuitPage.vue";
import ExcitationTopologyPage from "@/views/ExcitationTopologyPage.vue";
import AVRBlockPage from "@/views/AVRBlockPage.vue";

// 原理教学相关路由
export const principleRoutes = [
  {
    path: "/principle",
    name: "Principle",
    component: Principle,
    children: [
      {
        // 电机主体
        path: "generator-body",
        name: "GeneratorBody",
        component: GeneratorBodyPage,
      },
      {
        //励磁机
        path: "exciter",
        name: "Exciter",
        component: ExciterPage,
      },
      {
        // 旋转整流器
        path: "rotating-rectifier",
        name: "RotatingRectifier",
        component: RotatingPage,
      },
      {
        // 副励磁机
        path: "pilot-exciter",
        name: "PilotExciter",
        component: SubExciter,
      },
      {
        // 自动电压调节器(AVR)
        path: "avr",
        name: "AVR",
        component: AVR,
      },
      {
        // 机组控制屏
        path: "control-panel",
        name: "ControlPanel",
        component: ControlPanel,
      },
      {
        path: "rectifier-device",
        name: "RectifierDevice",
        component: RectifierPage,
      },
      {
        path: "rectifier-circuit",
        name: "RectifierCircuit",
        component: RectifierCircuitPage,
      },
      {
        path: "excitation-topology",
        name: "ExcitationTopology",
        component: ExcitationTopologyPage,
      },
      {
        path: "avr-block",
        name: "AVRBlock",
        component: AVRBlockPage,
      },
      {
        path: "generator-explosion",
        name: "GeneratorExplosion",
        component: GeneratorExplosionPage,
      },
    ],
  },
];
